import Wcore from '@/libs/common';

const user = {
	state:{
		user_info:{},
		is_login:false,
		privs:''
	},
	mutations:{
		LOGOUT:function(){
			
		},
		SET_USER:function(state,user){
			state.user_info = user;
			state.is_login = true;
			state.privs = user.privs;
		},
		
	}
}


export default user;